<div ng-controller="ReviewCtrl" ng-init="listAction()">
    <ul class="sui-breadcrumb">
        <li><a href="#/order/list">{{'Order'| translate}}</a></li>
        <li class="active">
            {{"评价"|translate}}
        </li>
        <span class="sui-form sui-form pull-right">
        </span>
    </ul>
    <div class="sui-row-fluid">
        <table class="sui-table table-bordered">
            <thead>
                <tr>
                    <th width="7%">{{'订单编号'|translate}}</th>
                    <th>{{'商品标题'|translate}}</th>
                    <th>{{'用户昵称'|translate}}</th>
                    <th>{{'评价等级'|translate}}</th>
                    <th>{{'评价内容'|translate}}</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="(key, list) in reviewList">
                    <td>
                        <button class="btn" ngclipboard data-clipboard-text="{{list.order_id}}" ngclipboard-success="onSuccess(e,this);">
                            {{list.order_id}}
                        </button>
                    </td>
                    <td>
                        <item-title itemid="list.item_id"></item-title><br />
                        <button class="btn" ngclipboard data-clipboard-text="{{list.item_id}}" ngclipboard-success="onSuccess(e,this);">
                            {{list.item_id}}
                        </button>
                    </td>
                    <td>
                        <wxinfo ng-model="list.member_id" stye="1"></wxinfo>
                    </td>
                    <td>
                        {{list.score == 1?"好评":list.score == 0?"中评":"差评"}}
                    </td>
                    <td>
                        {{list.content}}
                    </td>
                </tr>
            </tbody>
        </table>
        <!-- 分页start -->
        <pager page-no="{{pageNo}}" page-size="pageSize" total="reviewTotal" get-data="getReviewList(pageNo)"></pager>
    </div>
    <!-- 分页end -->
</div>